#ifndef _PARALLEL_H_
#define _PARALLEL_H_
#include "tbb/tbb.h"


inline int get_default_num_threads() {
    static int threads = 0;
    if ( threads == 0 )
        threads = tbb::task_scheduler_init::default_num_threads();
    return threads;
}

#endif